package jp.jawsug.account;


public class ActivityItem implements Comparable<ActivityItem> {

    private String region;

    private String service;

    private String subtitle;

    private String range;

    private String price;

    private String commodity;

    private String rawdata;

    public ActivityItem(String service, String region, String subtitle, String range, String commodity, String price, String rawdata) {
        this.setCommodity(commodity);
        this.setPrice(price);
        this.setRange(range);
        this.setRegion(region);
        this.setService(service);
        this.setSubtitle(subtitle);
        this.setRawdata(rawdata);
    }

    public String getRawdata() {
        return this.rawdata;
    }

    public void setRawdata(String rawdata) {
        this.rawdata = rawdata;
    }

    public String getCommodity() {
        return this.commodity;
    }

    public void setCommodity(String commodity) {
        this.commodity = commodity;
    }

    public String getRegion() {
        return this.region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getService() {
        return this.service;
    }

    public void setService(String service) {
        this.service = service;
    }

    public String getSubtitle() {
        return this.subtitle;
    }

    public void setSubtitle(String subtitle) {
        this.subtitle = subtitle;
    }

    public String getRange() {
        return this.range;
    }

    public void setRange(String renge) {
        this.range = renge;
    }

    public String getPrice() {
        return this.price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(this.getService());
        sb.append("\t");
        sb.append(this.getRegion());
        sb.append("\t");
        sb.append(this.getSubtitle());
        sb.append("\t");
        sb.append(this.getRange());
        sb.append("\t");
        sb.append(this.getCommodity());
        sb.append("\t");
        sb.append(this.getPrice());
        return sb.toString();
    }

    @Override
    public int compareTo(ActivityItem o) {

        return 0;
    }

}
